//
//  JSDataModel.h
//  KidReading
//
//  Created by linziyuan on 16/5/10.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>
@class JSRecordManager;
@interface UIWebView (JSDataProcessing)
@property (nonatomic, assign)BOOL newWebView;
@end

@interface JSDataProcessing : NSObject

+ (BOOL)startURL:(NSString *)url;//H5主动 需要做大量分支处理
+ (BOOL)startURL:(NSString *)url webView:(UIWebView *)webView currentVC:(UIViewController *)currentVC;
//
+ (NSDictionary *)titleBarRightInfo:(UIWebView*)webView;
+ (void)setUinfoCallback:(UIWebView *)webview;

+ (void)reg_poptool_js:(UIWebView *)webView;
+ (void)js_poptool_clean_device_width:(UIWebView *)webView;

+ (void)cancelAllLocalActions;

+ (NSString *)quizTitleWithUrl:(NSString *)url;//quiz title
+ (NSString *)quizRightTitleWithUrl:(NSString *)url; //quiz rightTitle
@end
